Validate
TheValidate
method marks the specified area in this frame as no longer in need of updating.
void Validate (in ODShape validShape, in ODCanvas biasCanvas);
validShape
- A reference to the shape object defining the area in this frame that no longer needs updating, expressed in frame coordinates.
biasCanvas
kODNULL
if the geometry is in platform-normal coordinates, otherwise a reference to the canvas object to whose coordinate space the geometry is biased.DISCUSSION
Your part calls this method to explicitly mark portions of its display frame that do not need updating. This method in turn calls theValidate
method associated with each of this frame's facets. TheValidate
method transforms and clips the shape from the coordinate space of the facet to the coordinate space of its canvas and subtracts the shape from any existing invalid area of the canvas.SEE ALSO
TheODCanvas::Validate
method (page 81).
TheODFacet::Validate
method (page 257).
TheODFrame::Invalidate
method (page 325).
"Invalidating and Validating Your Content" on page 160 in OpenDoc Programmer's Guide.
"Drawing to an Offscreen Canvas" on page 168 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help